<?php
require_once('bootstrap.php');
//echo Doctrine_Core::getPath();

//Create table and insert some data
/*$conn->export->createTable('test', array('name' => array('type' =>
'string')));
$conn->execute('INSERT INTO test (name) VALUES (?)', array('jwage'));
*/
//Execute a Select
$stmt = $conn->prepare('SELECT * FROM test');
$stmt->execute();
$results = $stmt->fetchAll();
print_r($results);

/*Doctrine_Core::generateModelsFromDb('models', array('doctrine'),
array('generateTableClasses' => true));*/

/*$user = new Usuario();
$user->username = 'juaning';
$user->password = '123';
echo $user->password; // outputs md5 hash and not 123*/

$conn->close();
?>